import React from 'react';

function ModalContent({ onClose }) {

    return (
        <div>
            <div>这是一个对话模态框</div>
            <button onClick={onClose}>关闭</button>
        </div>
    );
}

export default ModalContent;